home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-07-15 | 5.7 KB | 129 lines | [TEXT/MSWD] |
- CombineFiles v1.0
-
- by Mark Kupferman
-
- Documentation
-
- Copyright ©1990 Mark Kupferman
-
- PURPOSE
- This is a quick and dirty program that will combine all of your file
- sections whenever it is done. You are then able to allow your users to
- download any file available on your system without having to go to the
- individual file section.
-
- LIMITATIONS
- The program does not sort the files in any way...it simply goes through
- the list of File Sections you supply and moves all of the references into
- a file you specify. I guess you could say that it does sort them by
- File Section...Sections that you list first will be the first ones in the
- list, while the section you list last will be the last section on the list.
- It is suggested that you list your 'uploads' folder first so that it will be
- the first thing users will see when listing files (or put it last if you
- do a reverse chronological listing).
-
- HOMELESSWARE AGREEMENT
- This program is Homelessware. That means that if you find that you enjoy
- using it, you must buy a homeless person near you lunch of a value no less
- than $5.00. Take'em to MacDonalds, the Ritz Carlton, or where ever you like.
- If this does not seem tasteful to you, send the $5.00 to Comic Relief or
- another organization that helps the homeless. They need the money a lot more
- than I do. Under no circumstance are you to just hand the person on the
- street $5.00. The goal of this agreement is not to support a drug habit or
- get the person drunk.
-
- SETTING UP
- This program is pretty easy to set up. Please follow these quick easy steps
- and you will be combining in no time:
-
- Ingredients: 1 Second Sight BBS
- 2 or more file sections (know their paths)
- 1 copy of Combine Files 1.0
- 1 copy of ResEdit
-
- <1> Place Combine Files in the same folder as Second Sight.
-
- <2> Open Combine Files 1.0 with ResEdit. Go directly to the 'STR#' resource.
-
- <3> Open STR# resource #129 labeled 'Filepaths' (or something like that).
-
- You are allowed to specify up to 100 file sections. File sections will
- be added in the order you specify them here. Enter the path and the
- file name of each section here. Leave all of the extra fields blank, but
- be sure not to delete them.
-
- <4> Open STR# resource #130 labeled 'Runtime Information'.
-
- This one's pretty simple. In the first field, enter the path and name of
- the program that you want to run when this program is complete. Usually,
- this will be the path and name of your copy of Second Sight. However, if
- you like you can make it part of a Network event. Be aware that this
- program does not read any scheduling files...it will simply run the
- program specified in the first field of STR# resource #130. If you want
- to know how to make it run with Tabby, send me a message.
-
- Next, the second field needs to contain the name and path of the file
- section you want the program to create....this is the file that contains
- all of the file sections combined.
-
- <5> Ignore STR$ resource #128. It means nothing at this point.
-
- <6> Using a menu editor of some kind, insert the appropriate commands into
- whatever menu you would like this section to be accessed from.
-
- Wasn't that simple?
-
- APPLICATIONS
- The reason I created this program was so that I could have a combined section
- on my board. What I have is a menu that lists the names of all of my file
- sections. The user is then able to list and download from any file section
- they wish without having to switch from menu to menu. Thus, each 'list' command
- would actually list the individual file section being referred to, but the
- download command would actually look at the combined file. In the following
- example, the menu text is listed on the left, while the data that would go
- in the 'optional data' field is on the right.
-
- o/
- /| Files
- _/_\________________________________________________________
- <A> Graphics | Path to graphics file section
- <B> DeskTop Publishing | Path to DTP file section
- <C> Adult Section | Path to adult file section
- <E> Telecommunications | Path to telecom file section
- <F> Text Files | path to text file section
- <N> New Uploads | path to New Uploads file section
-
- <D>ownload a file | path to combined file section
- <U>pload a file | path to new uploads section
- <S>earch for a file | path to combined file section
- <I>nfo on a file | path to combined file section
-
- To see how I have it set up, call the Tao of Telecommunications.
-
- SOURCE CODE
- The Turbo Pascal source code and resource file have been enclosed for
- the curious. Please feel free to make use of anything you find in it,
- although there really isn't much to the program. It's pretty short. If
- people would find it more useful if the code for the programs I write were
- written in Lightspeed Pascal...well, I will be happy to accept any donations
- of a Lightspeed Pascal package. Anyone who does send a copy will cover the
- shareware fee of all of my programs, including shareware programs yet to
- be written.
-
- SUPPORT
- If you have any questions, comments, feedback, or suggestions, I can be
- reached through the following methods:
-
- Mark Kupferman
- 258 West Newton Street, #3
- Boston, MA 02116
-
- Voice Phone: (617) 859-7757
- BBS Phone: (617) 536-6419 Tao of Telecommunications BBS
- GEnie: M.S.K.
- America Online: MSK
- InterNet: mkupferman@lynx.northeastern.edu
- BitNet: mkupferman@lynx.northeastern.edu
-
- Preferred method of communications is via my BBS, InterNet or BitNet,
- although you may feel free to use any of the above.